Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: 🛂 Integrate Authentik Authentication with Coolify #3840

Merged

Conversation

danilomartinelli
Copy link
Contributor

@danilomartinelli danilomartinelli commented Oct 10, 2024

  • Configured Authentik as the OAuth provider in Coolify.

Changes

  • Integrated OAuth authentication via Authentik.
  • Configured Authentik as the OAuth provider in Coolify.
  • Added necessary environment variables for Authentik client ID, secret, and redirect URI.
  • Validated login flow using Authentik to ensure smooth integration.

Related to: PR #3635

@MatthiasGrandl
Copy link

Just a suggestion, but shouldn’t this just be labeled a generic OAuth provider? Since if it works for Authentik it should also work for most the other selfhosted providers like (Keycloak, Authelia, Kanidm…).

- Configured Authentik as the OAuth provider in Coolify.
@danilomartinelli danilomartinelli force-pushed the feature/authentik-provider branch from f0c8849 to 96ef0ef Compare October 13, 2024 13:28
@danilomartinelli
Copy link
Contributor Author

Just a suggestion, but shouldn’t this just be labeled a generic OAuth provider? Since if it works for Authentik it should also work for most the other selfhosted providers like (Keycloak, Authelia, Kanidm…).

Thank you for the suggestion! You’re right in suggesting a more generalized OAuth approach. However, the reason for labeling this integration specifically as "Authentik" is that it required installing and configuring a specific provider to make it work seamlessly.

An interesting alternative would be to configure the integration using SAML instead of a specific OAuth provider. This approach could provide a more generalized authentication flow and allow users to configure any compatible Identity Provider.

What do you think about this?

@MatthiasGrandl
Copy link

I don’t know a lot about SAML, as far as I am aware it’s more the legacy option used in big enterprises. But OpenID Connect is just as generic as SAML and I integrated a generic flow at my company that works for all kinds of providers including Authentik, Keycloak, Google, Okta, Auth0… basically every OpenID provider, so I am not really sure what you mean.

@peaklabs-dev peaklabs-dev added the 🛠️ Feature Issues requesting a new feature. label Oct 14, 2024
@d3dx9
Copy link

d3dx9 commented Oct 25, 2024

I would also +1 for the more generic OpenID Connect

@Flabib
Copy link

Flabib commented Nov 9, 2024

I really want this feature too.. I wish this feature will be merged ASAP.

@Flabib
Copy link

Flabib commented Nov 9, 2024

I would also +1 for the more generic OpenID Connect

I think it's difficult related to socialite library. there is no generic provider.

Copy link

@mrhammadasif mrhammadasif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@celber
Copy link

celber commented Nov 30, 2024

@danilomartinelli you are my hero <3 I need this for keycloak but i see that few custom nginx rewrites should make keycloak work under authentik provider.

@peaklabs-dev
Copy link
Member

Thanks for the PR. This is not completely working yet. I will add a few fixes and then merge it.

@peaklabs-dev peaklabs-dev changed the base branch from next to authentik December 11, 2024 16:06
@peaklabs-dev peaklabs-dev merged commit c2748de into coollabsio:authentik Dec 11, 2024
1 check passed
@github-actions github-actions bot removed the 🛠️ Feature Issues requesting a new feature. label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants